<template>
    <div class="seller border-top">
      <p class="seller__title">
        <i class="iconfont icon-fujinshangjia"></i>附近商家</p>
      <ul>
        <li v-for="item of seller"
            :key="item.id"
          class="seller__item border-bottom">
          <SellerItem :item="item"></SellerItem>
        </li>
      </ul>
    </div>
</template>

<script>
import SellerItem from '@/pages/common/SellerItem.vue'
export default {
  name: 'IndexSeller',
  props: {
    seller: Array
  },
  components: {
    SellerItem
  }
}
</script>

<style lang='scss' scoped>
  .seller {
    padding-bottom: 130px;
    border-color: #e5e5e5;
    font-size: 26px;/*px*/
    color: #999;
    background: #fff;
  }
  .icon-fujinshangjia {
    padding-right: 10px;
    font-size: 26px;/*px*/
    color: #999;
  }
  .seller__title {
    padding: 20px 0 20px 20px;
  }
  .seller__item {
    padding: 20px 10px;
    border-color: #eee;
  }
</style>
